package com.example.farmeri.pojo;

import java.util.Date;


/**
 * 存储所有农田的温度等数据
 */
public class FarmData {


    private Integer id;

    private Date time;
    private String temperature;//温度
    private String humidity;//湿度
    private String illumination;//光照
    private String sensor1_temperature_flag;
    private String sensor2_temperature_flag;
    private String sensor3_temperature_flag;

    private String sensor1_humidity_flag;
    private String sensor2_humidity_flag;
    private String sensor3_humidity_flag;
    private String sensor1_illumination_flag;
    private String sensor2_illumination_flag;
    private String sensor3_illumination_flag;
    private String node_Powerflag;

    private int farmId;

    private int area;//农田的区块id

    private int alertFlag;//农田的区块id


    private Farm farm;
    private FarmArea farmArea;



}
